<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="static/css/iSlider.css">
    <title>iSlider</title>
</head>
<body>
    <div class="iSlider" id="iSlider">
        
    </div>
</body>
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>
<script src="static/js/iSlider.js"></script>
<script>
    $(document).ready(function(){
        var imgList=new Array('static/img/ball.jpg','static/img/cake.jpg','static/img/coco.jpg')
        iSlider("iSlider",imgList)
        console.log("....")
    })
</script>
</html>